package vip.sweet.biz.modular.order.params;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @author ASUS
 * @Date 2025/10/5 23:03
 * @Descripition
 */
@Data
@Schema(description = "业务逻辑订单项添加参数")
public class BizOrderItemsAddParams {
    @Schema(description = "订单ID")
    @NotBlank(message = "订单ID不能为空")
    private String orderId;
    @NotBlank(message = "商品ID不能为空")
    @Schema(description = "商品ID")
    private String productId;
    @Schema(description = "商品数量")
    private Integer quantity;
    @Schema(description = "商品价格")
    private Double price;
    @Schema(description = "商品尺寸")
    private String size;
    @Schema(description = "商品颜色")
    private String color;
}
